Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> p.test { width: 11em; border: 1px solid #000000; word-wrap: break-word; } </style> </head> <body> <p class="test"> This paragraph contains a very long word: thisisaveryveryveryveryveryverylongword. The long word will break and wrap to the next line.</p> </body> <!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss3_word-wrap by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:53:55 GMT --> </html>
Result:
Try it Yourself - © w3schools.com